package com.example.beautymakeup.service;

import com.example.beautymakeup.domain.PageBean;
import com.example.beautymakeup.pojo.Classify;
import com.example.beautymakeup.pojo.Hot;

public interface ClassifyService {
    PageBean<Classify> get(String token) throws Exception;

    PageBean<Classify> getAll(String token,int page, int size) throws Exception;

    PageBean<Classify> getTypeAll(String token) throws Exception;

    boolean update(String token,Classify classify) throws Exception;

    boolean add(String token,Classify classify) throws Exception;

    boolean ban(String token,Classify classify) throws Exception;

    boolean delete(String token,Classify classify) throws Exception;
}
